<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<head th:fragment="head">
  <meta charset="UTF-8">
  <title th:text="${'WeConnect - ' + text}" />
  <link rel="stylesheet" type="text/css" th:href="@{/css/system/main.css}" />
  <link rel="icon" th:href="@{img/logo/favicon.ico}" type ="image/x-icon">
</head>

<div class="item" th:fragment="item">
  <a th:class="${flag == 'login' ? 'active' : ''}" th:href="@{/login}">登录</a>
  <a th:class="${flag == 'register' ? 'active' : ''}" th:href="@{/register}">注册</a>
</div>
